package com.luying.dao;

import com.luying.pojo.Moral;
import com.luying.pojo.PageQuery;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface MoralDao extends Mapper<Moral> {

    List<Moral> selectPage(@Param("query") PageQuery pageQuery);

    int deleteById(@Param("id") Integer id);

    int updateById(@Param("moral") Moral moral);
}
